package cn.topevery.garden.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 检查考评规则表 DTO
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "EvaluationRulesDTO", description = "检查考评规则表 DTO")
public class EvaluationRulesDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** uuid */
    @ApiModelProperty(value = "uuid")
    private String ruleId;

    /** 父uuid */
    @ApiModelProperty(value = "父uuid")
    private String rulePid;

    /** 内容 */
    @ApiModelProperty(value = "内容")
    private String content;

    /** 大类总分 */
    @ApiModelProperty(value = "大类总分")
    private Double itemScore;

    /** 应得分 */
    @ApiModelProperty(value = "应得分")
    private Double totalScore;

    /** 扣分 */
    @ApiModelProperty(value = "扣分")
    private Double dockScore;

    /** 单位 */
    @ApiModelProperty(value = "单位")
    private String unit;

    /** 层级 */
    @ApiModelProperty(value = "层级")
    private Integer layer;

    /** 排序 */
    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    /** 修改人 */
    @ApiModelProperty(value = "修改人")
    private Integer dbUpdateId;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;

    /** 单位数值 */
    @ApiModelProperty(value = "单位数值")
    private Double unitValue;



}
